Mod_chroot version 0.4 - How to Download and Install on Mac OS X
Friday the 3rd of September, 2010

    mod_chroot  most recent diff


    version 0.4

      View the most recent changes for the mod_chroot port at: mod_chroot.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for mod_chroot.
      The raw portfile for mod_chroot 0.4 is located here:
      http://mod_chroot.darwinports.com/dports/www/mod_chroot/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/mod_chroot


      The mod_chroot Portfile 41808 2008-11-10 23:41:44Z ryandesign macports.org $

      PortSystem 1.0

      Name: mod_chroot
      Version: 0.4
      Category: www security
      Platform: darwin
      Maintainers: nomaintainer
      Description: module for running apache2 in a secure chroot environment
      Long Description: mod_chroot makes running apache2 in a secure chroot environment easy. You don't need to create a special directory hierarchy containing /dev, /lib, /etc...

      Homepage: http://core.segfault.pl/~hobbit/mod_chroot
      Master Sites: ${homepage}/dist/ freebsd
      Checksums: md5 abd2c8209b61b2a2fecdf10a61051060

      depends_lib path:apache2/bin/apxs:apache2

      use_configure no

      build.cmd ${prefix}/apache2/bin/apxs
      build.args -c mod_chroot.c
      build.target

      destroot {
      set mdir ${destroot}${prefix}/apache2/modules/
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} ${mdir}
      xinstall -m 644 ${worksrcpath}/.libs/mod_chroot.so ${mdir}
      xinstall -m 644 -W ${worksrcpath} CAVEATS ChangeLog INSTALL LICENSE README README.Apache20 ${destroot}${prefix}/share/doc/${name}
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/mod_chroot
      % sudo port install mod_chroot
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching mod_chroot
      ---> Verifying checksum for mod_chroot
      ---> Extracting mod_chroot
      ---> Configuring mod_chroot
      ---> Building mod_chroot with target all
      ---> Staging mod_chroot into destroot
      ---> Installing mod_chroot
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using mod_chroot with these commands:
      %  man mod_chroot
      % apropos mod_chroot
      % which mod_chroot
      % locate mod_chroot

     Where to find more information:

    Darwin Ports



    Lightbox this page.